package com.bruce.pattern.structural.facade;

import lombok.Setter;

/**
 * Created by bruce on 2018/11/3 20:42
 */
@Setter
public class GiftExchangeService {

    private QualifyService qualifyService = new QualifyService();
    private PointsPaymentService pointsPaymentService = new PointsPaymentService();
    private  ShippingService shippingService = new ShippingService();


    public void giftExchange(PointsGift gift){
        if (qualifyService.isAvaliable(gift)){
            //资格通过




        }



    }








}
